#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
#include <time.h>
#include <stdlib.h>
#include <windows.h>
#define HANG 9
#define LIE 9
void game(char arr1[HANG][LIE],char arr2[HANG+2][LIE+2], int hang, int lie);
void display(char arr[HANG][LIE], int hang, int lie);
void chushihua(char arr[HANG][LIE], int hang, int lie,char a);
void menu();
void put_lei(char arr[HANG + 2][LIE + 2], int hang, int lie);
int jisuanleishu(char arr[HANG + 2][LIE + 2], int hang, int lie, int i, int j);
void panduan(char arr1[HANG][LIE], char arr2[HANG + 2][LIE + 2], int hang, int lie, int i, int j);
void saolei(char arr1[HANG][LIE], char arr2[HANG + 2][LIE + 2], int hang, int lie);
void biaojilei(char arr[HANG][LIE], int hang, int lie);
void quxiaobiaojilei(char arr[HANG][LIE], int hang, int lie);
void tishi(char arr1[HANG][LIE], char arr2[HANG + 2][LIE + 2], int hang, int lie);
void put_order(char arr1[HANG][LIE], char arr2[HANG + 2][LIE + 2], int hang, int lie);
void chushihua2(char arr[HANG+2][LIE+2], int hang, int lie, char a);
void jieguo(char arr1[HANG][LIE], char arr2[HANG + 2][HANG + 2], int hang, int lie);



